package com.globo.devsup.client.rpc;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.gwt.user.client.rpc.ServiceDefTarget;

@RemoteServiceRelativePath("Login")
public interface LoginRPC extends RemoteService {

	public static class Factory {
		public static LoginRPCAsync getInstance() {
			return GWT.create(LoginRPC.class);
		}
	}
	
	public String validate(String userName, String pass, String globo);

}
